﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="NewsViewer.ascx.cs" Inherits="WebApplication1.NewsViewer" %>
<asp:ScriptManager ID="scriptmgr" runat="server"></asp:ScriptManager>
<link rel="stylesheet" type="text/css" href="NewsStyle.css" />

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <asp:Xml ID="Xml1" runat="server" TransformSource="~/nf.xsl"></asp:Xml>
        <label>
        <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
            Height="16px" onselectedindexchanged="DropDownList1_SelectedIndexChanged">
            <asp:ListItem Selected="True">NPR</asp:ListItem>
            <asp:ListItem>Fox News</asp:ListItem>
            <asp:ListItem>CNN</asp:ListItem>
            <asp:ListItem>CNBC</asp:ListItem>
            <asp:ListItem>Reuters</asp:ListItem>
        </asp:DropDownList>
        </label>
    </ContentTemplate>
</asp:UpdatePanel>

<label class="timon-headline"> Choose a news source <br />
</label>
